package com.xianxiaohui.generator;

import java.util.Map;

public class Main {
    public static void main(String[] args) {
        String url = URLBuilder.builder()
                .setDomain("www.baidu.com")
                .setScheme("https")
                .setPath("/")
                .setQuery(Map.of("a","123","ss","dd"))
                .build();
        System.out.println(url);
    }
}
